Package | hl7.fhir.uv.xver |
Type | StructureMap |
Id | Id |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-Timing3to2.html |
Url | http://hl7.org/fhir/StructureMap/Timing3to2 |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | Timing3to2 |
Title | Timing Transforms: R3 to R2 |
Experimental | False |
Realm | uv |
Authority | hl7 |
Description | TimingTransformsR3toR2 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/Timing3to2' /// name = 'Timing3to2' /// title = 'Timing Transforms: R3 to R2' /// status = 'active' uses "http://hl7.org/fhir/3.0/Timing" alias Timing as source uses "http://hl7.org/fhir/1.0/Timing" alias TimingR2 as target imports "http://hl7.org/fhir/StructureMap/primitives3to2" imports "http://hl7.org/fhir/StructureMap/Element3to2" imports "http://hl7.org/fhir/StructureMap/Period3to2" imports "http://hl7.org/fhir/StructureMap/Range3to2" imports "http://hl7.org/fhir/StructureMap/CodeableConcept3to2" group Timing(source src : Timing, target tgt : TimingR2) extends Element <<type+>> { src.event -> tgt.event "Timing-event"; src.repeat as vs0 -> tgt.repeat as vt0 then { vs0.bounds : Range as vs -> vt0.bounds = create('Range') as vt then Range(vs, vt) "repeat-bounds-Range"; vs0.bounds : Period as vs -> vt0.bounds = create('Period') as vt then Period(vs, vt) "repeat-bounds-Period"; vs0.count -> vt0.count "repeat-count"; vs0.duration -> vt0.duration "repeat-duration"; vs0.durationMax -> vt0.durationMax "repeat-durationMax"; vs0.durationUnit -> vt0.durationUnits "repeat-durationUnits"; vs0.frequency -> vt0.frequency "repeat-frequency"; vs0.frequencyMax -> vt0.frequencyMax "repeat-frequencyMax"; vs0.period -> vt0.period "repeat-period"; vs0.periodMax -> vt0.periodMax "repeat-periodMax"; vs0.periodUnit -> vt0.periodUnits "repeat-periodUnits"; vs0.when as v -> vt0.when = translate(v, '#EventTiming', 'code') "repeat-when"; } "Timing-repeat"; src.code -> tgt.code "Timing-code"; }
{
"resourceType" : "StructureMap",
"id" : "Timing3to2",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/Timing3to2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'Timing3to2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'Timing Transforms: R3 to R2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/Timing<span style=\"color: navy\">" </span><b>alias </b>Timing <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/Timing<span style=\"color: navy\">" </span><b>alias </b>TimingR2 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-primitives3to2.html\" title=\"Primitive Transforms: R3 to R2\">http://hl7.org/fhir/StructureMap/primitives3to2</a><span style=\"color: navy\">"\r\n</span><b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-Element3to2.html\" title=\"Period Transforms: R3 to R2\">http://hl7.org/fhir/StructureMap/Element3to2</a><span style=\"color: navy\">"\r\n</span><b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-Period3to2.html\" title=\"Period Transforms: R3 to R2\">http://hl7.org/fhir/StructureMap/Period3to2</a><span style=\"color: navy\">"\r\n</span><b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-Range3to2.html\" title=\"Range Transforms: R3 to R2\">http://hl7.org/fhir/StructureMap/Range3to2</a><span style=\"color: navy\">"\r\n</span><b>imports</b><span style=\"color: navy\"> "</span><a href=\"StructureMap-CodeableConcept3to2.html\" title=\"CodeableConcept Transforms: R3 to R2\">http://hl7.org/fhir/StructureMap/CodeableConcept3to2</a><span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>Timing<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>Timing, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>TimingR2<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.event<span style=\"color: navy\"><b> -> </b></span>tgt.event <i>"Timing-event"</i><span style=\"color: navy\">;</span>\r\n src.repeat<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.repeat<b> as </b><span style=\"color: maroon\">vt0</span><b> then</b><span style=\"color: navy\"> {\r\n</span> vs0.bounds<span style=\"color: navy\"> : </span>Range<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.bounds = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Range'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>Range<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>"repeat-bounds-Range"</i><span style=\"color: navy\">;</span>\r\n vs0.bounds<span style=\"color: navy\"> : </span>Period<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.bounds = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Period'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>Period<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>"repeat-bounds-Period"</i><span style=\"color: navy\">;</span>\r\n vs0.count<span style=\"color: navy\"><b> -> </b></span>vt0.count <i>"repeat-count"</i><span style=\"color: navy\">;</span>\r\n vs0.duration<span style=\"color: navy\"><b> -> </b></span>vt0.duration <i>"repeat-duration"</i><span style=\"color: navy\">;</span>\r\n vs0.durationMax<span style=\"color: navy\"><b> -> </b></span>vt0.durationMax <i>"repeat-durationMax"</i><span style=\"color: navy\">;</span>\r\n vs0.durationUnit<span style=\"color: navy\"><b> -> </b></span>vt0.durationUnits <i>"repeat-durationUnits"</i><span style=\"color: navy\">;</span>\r\n vs0.frequency<span style=\"color: navy\"><b> -> </b></span>vt0.frequency <i>"repeat-frequency"</i><span style=\"color: navy\">;</span>\r\n vs0.frequencyMax<span style=\"color: navy\"><b> -> </b></span>vt0.frequencyMax <i>"repeat-frequencyMax"</i><span style=\"color: navy\">;</span>\r\n vs0.period<span style=\"color: navy\"><b> -> </b></span>vt0.period <i>"repeat-period"</i><span style=\"color: navy\">;</span>\r\n vs0.periodMax<span style=\"color: navy\"><b> -> </b></span>vt0.periodMax <i>"repeat-periodMax"</i><span style=\"color: navy\">;</span>\r\n vs0.periodUnit<span style=\"color: navy\"><b> -> </b></span>vt0.periodUnits <i>"repeat-periodUnits"</i><span style=\"color: navy\">;</span>\r\n vs0.when<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>vt0.when = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#EventTiming'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span> <i>"repeat-when"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"Timing-repeat"</i><span style=\"color: navy\">;</span>\r\n src.code<span style=\"color: navy\"><b> -> </b></span>tgt.code <i>"Timing-code"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/Timing3to2",
"version" : "0.1.0",
"name" : "Timing3to2",
"title" : "Timing Transforms: R3 to R2",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "TimingTransformsR3toR2",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/3.0/Timing",
"mode" : "source",
"alias" : "Timing"
},
{
"url" : "http://hl7.org/fhir/1.0/Timing",
"mode" : "target",
"alias" : "TimingR2"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/primitives3to2",
"http://hl7.org/fhir/StructureMap/Element3to2",
"http://hl7.org/fhir/StructureMap/Period3to2",
"http://hl7.org/fhir/StructureMap/Range3to2",
"http://hl7.org/fhir/StructureMap/CodeableConcept3to2"
],
"group" : [
{
"name" : "Timing",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "Timing",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "TimingR2",
"mode" : "target"
}
],
"rule" : [
{
"name" : "Timing-event",
"source" : [
{
"context" : "src",
"element" : "event",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "event",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "Timing-repeat",
"source" : [
{
"context" : "src",
"element" : "repeat",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "repeat",
"variable" : "vt0"
}
],
"rule" : [
{
"name" : "repeat-bounds-Range",
"source" : [
{
"context" : "vs0",
"type" : "Range",
"element" : "bounds",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "bounds",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "Range"
}
]
}
],
"dependent" : [
{
"name" : "Range",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "repeat-bounds-Period",
"source" : [
{
"context" : "vs0",
"type" : "Period",
"element" : "bounds",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "bounds",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "Period"
}
]
}
],
"dependent" : [
{
"name" : "Period",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "repeat-count",
"source" : [
{
"context" : "vs0",
"element" : "count",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "count",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "repeat-duration",
"source" : [
{
"context" : "vs0",
"element" : "duration",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "duration",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "repeat-durationMax",
"source" : [
{
"context" : "vs0",
"element" : "durationMax",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "durationMax",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "repeat-durationUnits",
"source" : [
{
"context" : "vs0",
"element" : "durationUnit",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "durationUnits",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "repeat-frequency",
"source" : [
{
"context" : "vs0",
"element" : "frequency",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "frequency",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "repeat-frequencyMax",
"source" : [
{
"context" : "vs0",
"element" : "frequencyMax",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "frequencyMax",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "repeat-period",
"source" : [
{
"context" : "vs0",
"element" : "period",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "period",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "repeat-periodMax",
"source" : [
{
"context" : "vs0",
"element" : "periodMax",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "periodMax",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "repeat-periodUnits",
"source" : [
{
"context" : "vs0",
"element" : "periodUnit",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "periodUnits",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "repeat-when",
"source" : [
{
"context" : "vs0",
"element" : "when",
"variable" : "v"
}
],
"target" : [
{
"context" : "vt0",
"element" : "when",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "#EventTiming"
},
{
"valueString" : "code"
}
]
}
]
}
]
},
{
"name" : "Timing-code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.